package com.qili.entity.supervisor;


import com.qili.annotation.Mean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by lenovo on 2020/11/2.
 * 承建单位表 字段规范驼峰模式
 */
@Data
@Table(name = "project_units")
@ToString
@EqualsAndHashCode
@Component
public class ProjectUnitConstruction {

    /*
    * 主键id
    * */
    @Id
    @Column(name = "id")
    private String id;

    /*
    * 承建单位
    * */
    @Column(name = "unit_construction")
    private String unitConstruction;

    /*
    * 承建合同名称
    * */
    @Mean(value = "承建合同名称")
    @Column(name = "construction_contract")
    private String constructionContract;

    /*
    * 项目经理
    * */
    @Column(name = "project_manager")
    private String projectManager;

    /*
    * 开始工期时间
    * */
    @Mean(value = "开始工期时间")
    @Column(name = "start_period")
    private String startPeriod;

    /*
    * 结束工期时间
    * */
    @Mean(value = "开始工期时间")
    @Column(name = "end_period")
    private String endPeriod;

    /*
    * 承建合同额
    * */
    @Mean(value = "承建合同额")
    @Column(name = "contract_amount")
    private String contractAmount;

    /*
    * 到货验收
    * */
    @Mean(value = "到货验收")
    @Column(name = "inspection_merchandise")
    private String inspectionMerchandise;

    /*
    * 主项目id
    * */
    @Column(name = "supervisor_project_id")
    private String supervisorProjectId;

    /*
    * 创建时间
    * */
    @Column(name = "create_date")
    private String createDate;

    /*
     * 创建人
     * */
    @Column(name = "create_by")
    private String createBy;

    /*
    * 分包编号
    *
    * */
    @Mean(value = "承建单位分包编号")
    @Column(name = "construction_sub_contract_number")
    private String constructionSubContractNumber;
    /*
     * 合同编号
     *
     * */
    @Mean(value = "承建单位合同编号")
    @Column(name = "contract_no")
    private String contractNo;
    /*
     * 采购/项目编号
     *
     * */
    @Mean(value = "采购/项目编号")
    @Column(name = "pay_or_project_no")
    private String payOrProjectNo;
    /*
     * 已支付金额
     *
     * */
    @Column(name = "pay_money")
    private String payMoney;



}
